# coding: utf-8
from . import db, BaseModel


class Bbsnew(BaseModel):
    __tablename__ = 'bbsnew'

    AutoID = db.Column(db.Integer, primary_key=True)
    title = db.Column(db.String(255), info='留言标题')
    userID = db.Column(db.Integer, info='留言人')
    content = db.Column(db.Text, info='留言内容')
    datetime = db.Column(db.DateTime, server_default=db.FetchedValue(), info='留言时间')
